-
Notifications
You must be signed in to change notification settings - Fork 2.8k
fix: BROS-14: Optimize yarn test:e2e #7530
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for heartex-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for label-studio-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for label-studio-docs-new-theme ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
/git merge
|
✅ Deploy Preview for label-studio-playground ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Temporarily skipped two audio error handling tests to prevent false negatives.
/git merge
|
/git merge
|
@@ -22,4 +22,8 @@ module.exports = () => | |||
await action(); | |||
this._performActionEnd(name); | |||
}, | |||
|
|||
waitTicks(n) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love this approach and name!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are we waiting for here? Could it also be waitTicks()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case ticks were not a stable solution. Somehow it needs more time to wait.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add todo
comments to all skipped tests, so we'll know what to do with them later. The rest is great, just couple of small questions!
Annotated and skipped three e2e tests due to outdated or problematic functionality: - Taxonomy read-only in annotation history. - Sync issues with multiple audio playback. - Removing textarea items in 'region-list' mode. Each test now includes a TODO comment to clarify necessary actions for future fixes.
/git merge
|
Summary of the Pull Request
This Pull Request introduces the following changes across multiple components related to testing and error handling:
Test Workflow Update: Modified GitHub Actions workflow to run end-to-end tests using a more specific command (yarn lsf:e2e:ci).
Workflow Update:
AudioUltra fixes
Testing Improvements:
I.wait
withI.waitTicks
for more readability and understandabilityHelper and Utility Enhancements:
seeFocusedElement
andhasError
methods to improve usability for test writing.waitForAudio
conditions